package xyz.xtt.equity.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 效益售卖包
 * </p>
 *
 * @author dale
 * @since 2025-02-10
 */
@Data
@Builder
@Accessors(chain = true)
@TableName("tbl_benefit_package")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "TblBenefitPackage对象", description = "效益售卖包")
public class TblBenefitPackage implements Serializable {

	private static final long serialVersionUID = 1L;

	@TableId("package_id")
	@ApiModelProperty("主键")
	private Long packageId;

	@ApiModelProperty("权益包类型： NFT_VIP-数藏藏会员")
	private String packageType;

	@ApiModelProperty("售卖包代码")
	private String packageCode;

	@ApiModelProperty("名称")
	private String packageName;

	@ApiModelProperty("售卖状态： 0-下架 1-售卖中")
	private Integer onSale;

	@ApiModelProperty("原价")
	private BigDecimal originalPrice;

	@ApiModelProperty("销售价格")
	private BigDecimal salePrice;

	@ApiModelProperty("展示图片")
	private String imageUrl;

	@ApiModelProperty("创建时间")
	private LocalDateTime createTime;

	@ApiModelProperty("最后一次更新时间")
	private LocalDateTime updateTime;

	@ApiModelProperty("逻辑删除标识  0-未删除  1-已删除")
	private Integer isDel;
}
